package demo1;

public class Text {
    public static void main(String[] args) {
        Student student = new Student();
        Student student1 = new Student("zhangsan",98);

        student.setName("王鹏");
        student.setGrades(86);

        System.out.println(student.toString());
        System.out.println(student1.toString());
    }
}
